/** 数据操作对象：actionCreator */
import {
  COUNTER_INCREMENT,
  COUNTER_DECREMENT
} from './counterType'

// 增加数据请求对象
export const countIncrementAction = data => ({ type: COUNTER_INCREMENT, data })
// 减少数据请求对象
export const countDecrementAction = data => ({ type: COUNTER_DECREMENT, data })